package org.lisen.patterndemo.factory.abstractfactory;

public class Main {

    public static void main(String[] args) {
        LogicFactory logicFactory = PcFactory.getLogicFactory();
        Keyboard keyboard = logicFactory.makeKeyboard();
        Mouse mouse = logicFactory.makeMouse();
        System.out.println(keyboard.getInfo());
        System.out.println(mouse.getInfo());
    }

}
